kcoreaddons.git
8 years agoKDirWatch: fix memory leak on destruction.
David Faure [Sun, 5 Feb 2017 10:49:07 +0000 (11:49 +0100)]
KDirWatch: fix memory leak on destruction.

Summary:
The Entry class owns the Client instances, so it should delete the
remaining instances in its destructor, for the case where they haven't
been removed one by one. The line of code removeEntries(nullptr) was
probably means to remove them one by one, but it was a no-op (the code
for that method doesn't expect nullptr as argument) and it would be
slow anyway. We don't need to call inotify_remove for every path,
when we're just cleaning up in a global static after qApp destruction.

Detected by a clang-sanitizer build on http://ci-logs.kde.flaska.net
and reproduced locally with valgrind.

Test Plan:
./kdirwatch_*_unittest now passes in valgrind without memory
leaks being reported

Reviewers: aacid, mpyne

Reviewed By: aacid, mpyne

Subscribers: markg, #frameworks

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D4439

Gbp-Pq: Name KDirWatch-fix-memory-leak-on-destruction.patch

8 years agoFix Bug 363427 - unsafe characters incorrectly parsed as part of URL
Montel Laurent [Tue, 17 Jan 2017 06:41:53 +0000 (07:41 +0100)]
Fix Bug 363427 - unsafe characters incorrectly parsed as part of URL

Fix [Please visit our booth 24-25 http://example.com/]
CCBUG:363427

Gbp-Pq: Name Fix-Bug-363427-unsafe-characters-incorrectly-parsed-as-pa.patch

8 years agoFix Bug 343275 - [1] added at the end of a hyperlink
Montel Laurent [Wed, 23 Nov 2016 07:07:25 +0000 (08:07 +0100)]
Fix Bug 343275 - [1] added at the end of a hyperlink

FIXED-IN: 5.29
BUG: 343275

Gbp-Pq: Name Fix-Bug-343275-1-added-at-the-end-of-a-hyperlink.patch

8 years agokcoreaddons (5.28.0-2) unstable; urgency=medium
Maximiliano Curia [Fri, 31 Mar 2017 13:53:53 +0000 (14:53 +0100)]
kcoreaddons (5.28.0-2) unstable; urgency=medium

  * Add new upstream patch:
    Fix-Bug-343275-1-added-at-the-end-of-a-hyperlink.patch
  * Add new upstream patch:
    Fix-Bug-363427-unsafe-characters-incorrectly-parsed-as-pa.patch
  * Add new upstream patch: KDirWatch-fix-memory-leak-on-destruction.patch

[dgit import unpatched kcoreaddons 5.28.0-2]

8 years agoImport kcoreaddons_5.28.0-2.debian.tar.xz
Maximiliano Curia [Fri, 31 Mar 2017 13:53:53 +0000 (14:53 +0100)]
Import kcoreaddons_5.28.0-2.debian.tar.xz

[dgit import tarball kcoreaddons 5.28.0-2 kcoreaddons_5.28.0-2.debian.tar.xz]

9 years agoImport kcoreaddons_5.28.0.orig.tar.xz
Maximiliano Curia [Fri, 18 Nov 2016 15:01:12 +0000 (15:01 +0000)]
Import kcoreaddons_5.28.0.orig.tar.xz

[dgit import orig kcoreaddons_5.28.0.orig.tar.xz]